home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / netbsd / experimental / bin10 / bah-1.0-kit.readme < prev    next >
Text File  |  1995-10-22  |  2KB  |  71 lines

  1. Descr:     Patches for NetBSD 1.0 to get arcnet (A2060) running.
  2.  
  3. Hello,
  4.  
  5. first of all: 
  6. <bold><blinking><big><red>
  7. THIS IS WITHOUT ANY EXPLICIT OR IMPLIED WARRANTY.
  8. </bold></blinking></big></red>
  9.  
  10. The usual NetBSD disclaimer of usability applies.
  11.  
  12. This said:
  13.  
  14. This is the NetBSD-1.0 if_bah (A2060 driver) patchkit. 
  15.  
  16. You need:
  17.  
  18. - bah-1.0-kit.tar.gz
  19. - A virgin 1.0 system with kernel srces installed. Don't complain, sue me or
  20.   get drunk if this kit damages any of your personal files or patches, or if 
  21.   the patches don't work due to your changes.
  22.  
  23. Instructions:
  24.  
  25. a) [become root]
  26.    su
  27.    [and give the password)
  28. b) cd /
  29. c) tar xzvf bah-1.0-kit.tar.gz
  30.    [this shouldn't damage any existing file]
  31. d) patch -p0 < bah-1.0.kit.patches
  32.    [this patches three files:
  33.     /usr/src/sys/conf/files.newconf
  34.     /usr/src/sys/arch/amiga/conf/files.newconf
  35.     /usr/src/sys/arch/amiga/amiga/machdep.c
  36.     and leaves the originals with .orig appended to their names. If you apply
  37.     this patch a 2nd time, it will fail, and probably the originals will be
  38.     erased. So copy them first, if you don't have the ksrc-10.tar.gz file 
  39.     handy.]
  40. e) cd /sys/arch/amiga/conf
  41. f) [edit HOWYOURCONFIGFILEISCALLED with your favourite editor]
  42. g) [add there, at some convenient place: ]
  43.  
  44. bah* at ztwobus0
  45.    [this line in your config will find any number of A2060 cards in the 
  46.     autoconf list; however, you dont want to use 2 A2060 cards in one machine
  47.     as a router because full load on both cards would saturate the ZBUS]
  48.  
  49. h) [exit the editor]
  50. i) config.new HOWYOURCONFIGFILEISCALLED
  51. k) cd ../compile/HOWYOURCONFIGFILEISCALLED
  52. l) cp /netbsd /netbsd.lastthatworked
  53. m) make && make depend && mv netbsd /
  54.  
  55. [If and only if all went well:]
  56.  
  57. sync
  58. sync
  59. sleep 5
  60. cp /netbsd /dev/reload
  61.  
  62. With the new kernel running, you can ifconfig bah0 or 1 or 2 (depending
  63. on how many A2060 cards you have) or look at it with netstat -i, just like
  64. you would have used le0 or ed0.
  65.  
  66. For more information, look at 'man bah' or at
  67. http://comma.rhein.de/~is/projects/
  68.  
  69. Regards,
  70.     Ignatios Souvatzis <is@beverly.rhein.de>
  71.